import React from 'react';
import ReactDOM from 'react-dom';
import reportWebVitals from './reportWebVitals';
import './index.css';
import Jsx001 from './Jsx001';
import Component001 from './component/Component001';
import Component002 from './component/Component002';
import Component003 from './component/Component003';
import State001 from './State001';

ReactDOM.render(
  <React.StrictMode>
    <Jsx001 />
    <Component001 name='张三'/>
    <Component002/>
    <Component003 pName="来自pName" pUrl="来自pUrl" pNickName="来自pNickName"/>
    <State001/>
  </React.StrictMode>,
  document.getElementById('root')
);

// If you want to start measuring performance in your app, pass a function
// to log results (for example: reportWebVitals(console.log))
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
reportWebVitals();
